const initState = {
  data: {},
  list: [],
  params: {}
}

export default {
  state: {
    ...initState
  },
  reducers: {
    updateState(state, { payload }) {
      return {
        ...state,
        ...payload,
      };
    },
  },
};
